package com.atmilan.quartz.model.dto.im;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

import lombok.Data;

/**
 * im商品映射对象
 * @Description: 
 * @author daigb
 * @date 2021-04-29
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class ImBrandResDTO {
    /**
     * 请求编码
     */
    @JsonProperty(value = "code")
    private Integer code;

    /**
     * 成功标识
     */
    @JsonProperty(value = "success")
    private String success;
    
    /**
     *响应信息
     */
    @JsonProperty(value = "message")
    private String message;
    
    /**
     * 异常信息
     */
    @JsonProperty(value = "error")
    private String error;
    
    /**
     * 时间戳
     */
    @JsonProperty(value = "timestamp")
    private Long timestamp;

    /**
     * 请求结果
     */
    @JsonProperty(value = "data")
    private List<ImBrandDTO> imBrandDTOS;
    
    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class ImBrandDTO {
        /**
         * brandId
         */
        @JsonProperty(value = "brandId")
        private String brandId;
        
        /**
         * englishName
         */
        @JsonProperty(value = "englishName")
        private String englishName;
        
    }
    
}
